package com.bootdo.storageRack.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.storageRack.dao.StorageRackItemRefDao;
import com.bootdo.storageRack.domain.StorageRackItemRefDO;
import com.bootdo.storageRack.service.StorageRackItemRefService;
import org.springframework.transaction.annotation.Transactional;



@Service
@Transactional
public class StorageRackItemRefServiceImpl implements StorageRackItemRefService {
	@Autowired
	private StorageRackItemRefDao storageRackItemRefDao;
	
	@Override
	public StorageRackItemRefDO get(Long id){
		return storageRackItemRefDao.get(id);
	}
	
	@Override
	public List<StorageRackItemRefDO> list(Map<String, Object> map){
		return storageRackItemRefDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return storageRackItemRefDao.count(map);
	}
	
	@Override
	public int save(StorageRackItemRefDO storageRackItemRef){
		return storageRackItemRefDao.save(storageRackItemRef);
	}
	
	@Override
	public int update(StorageRackItemRefDO storageRackItemRef){
		return storageRackItemRefDao.update(storageRackItemRef);
	}
	
	@Override
	public int remove(Long id){
		return storageRackItemRefDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return storageRackItemRefDao.batchRemove(ids);
	}
	
}
